home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
COMAL
/
B-Book Series
/
(k)b4.d64
/
sec5.1
< prev
next >
Wrap
Text File
|
2007-02-28
|
605b
|
24 lines
0010 FOR DOWN:=6 TO 10 DO
0020 STARLINE
0030 ENDFOR DOWN
0040 PROC STARLINE
0050 FOR ACROSS:=21 TO 27 DO
0060 CURSOR(ACROSS,DOWN)
0070 PRINT "*"
0080 ENDFOR ACROSS
0090 ENDPROC STARLINE
9000 //
9010 //CURSOR IS FORMAT OF BOOK
9020 //IT CALLS REAL'CURSOR WHICH FOLLOWS CBM COMAL METHOD
9030 //
9040 PROC CURSOR(ACROSS,DOWN) CLOSED
9050 ROW:=DOWN; COL:=ACROSS
9060 REAL'CURSOR(ROW,COL)
9070 ENDPROC CURSOR
9080 PROC REAL'CURSOR(ROW,COL) CLOSED
9090 PRINT CHR$(19), //HOME
9100 FOR ROWS:=1 TO ROW DO PRINT CHR$(17), //DOWN
9110 FOR COLS:=1 TO COL DO PRINT CHR$(29), //RIGHT
9120 ENDPROC REAL'CURSOR
9130 //